<?php
class Default_Model_DbTable_Country extends Custom_Db_Table_Abstract
{
    public $_name = 'viz_country';
    public $_primary = 'country_id'; 
    
    public function getCountryList()
    {
        $select  = $this->select()
                   ->from($this->_name)
                   ->order($this->getOrderBy(array('printable_name')));
                
        
         $countrylist = $this->fetchAll($select)->toArray();
        return $countrylist;
        
        
    }
    
}
?>
